package com.itheima.singleton.demo3;

/**
 * @author zzw
 * @date 2025/8/12
 * @description 饿汉式-枚举单例
 */
public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.INSTANCE;
        Singleton instance1 = Singleton.INSTANCE;
        System.out.println(instance == instance1);
    }
}
